package com.chanyachting.emall.service;

import java.util.List;

import com.chanyachting.emall.domain.Member;
import com.chanyachting.emall.domain.Memberaccount;




/**
 * 用户账户操作接口
 * @author robert
 *
 */
public interface MemberaccountService {
	
	//获得一个用户账户
	public Memberaccount getOneMemberaccount(Memberaccount maccount);
	
	//获得所有用户账户
	public List<Memberaccount> getAllMemberaccount();
	
	//根据会员获得用户账户
	public Memberaccount getMemberaccountByMember(Member member);
	
	//创建用户账户
	public boolean createMemberaccount(Memberaccount maccount);
	
	//开通用户账户
	public boolean openMemberaccount(Memberaccount maccount);
	
	//停用互用账户
	public boolean closeMemberaccount(Memberaccount maccount);
	
	//修改账户基本资料
	public boolean updateMemberaccount(Memberaccount maccount);
	
	//充值  调用 Rechargehistory 接口
	
	//消费 调用 orders 接口
	
	


}
